package com.action;

import org.apache.struts2.convention.annotation.Action;

import com.opensymphony.xwork2.ActionSupport;

public class SelectAction extends ActionSupport {
	private String yourMonth = "2";

	public String getYourMonth() {
		System.out.println("get " + yourMonth);
		return yourMonth;
	}

	public void setYourMonth(String yourMonth) {
		this.yourMonth = yourMonth;
		System.out.println("set " + yourMonth);
	}
	
	@Action("/select")
	public String select() {
		return SUCCESS;
	}
}
